package HibernateFacet;

import java.sql.Timestamp;

/**
 * DataRecord entity. @author MyEclipse Persistence Tools
 */

public class DataRecord implements java.io.Serializable {

	// Fields

	private Integer id;
	private DeviceInformation deviceInformation;
	private Integer currentA;
	private Integer voltageA;
	private Double cost;
	private String status;
	private Timestamp dateTime;

	// Constructors

	/** default constructor */
	public DataRecord() {
	}

	/** minimal constructor */
	public DataRecord(DeviceInformation deviceInformation, Double cost, String status, Timestamp dateTime) {
		this.deviceInformation = deviceInformation;
		this.cost = cost;
		this.status = status;
		this.dateTime = dateTime;
	}

	/** full constructor */
	public DataRecord(DeviceInformation deviceInformation, Integer currentA, Integer voltageA, Double cost,
			String status, Timestamp dateTime) {
		this.deviceInformation = deviceInformation;
		this.currentA = currentA;
		this.voltageA = voltageA;
		this.cost = cost;
		this.status = status;
		this.dateTime = dateTime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public DeviceInformation getDeviceInformation() {
		return this.deviceInformation;
	}

	public void setDeviceInformation(DeviceInformation deviceInformation) {
		this.deviceInformation = deviceInformation;
	}

	public Integer getCurrentA() {
		return this.currentA;
	}

	public void setCurrentA(Integer currentA) {
		this.currentA = currentA;
	}

	public Integer getVoltageA() {
		return this.voltageA;
	}

	public void setVoltageA(Integer voltageA) {
		this.voltageA = voltageA;
	}

	public Double getCost() {
		return this.cost;
	}

	public void setCost(Double cost) {
		this.cost = cost;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Timestamp getDateTime() {
		return this.dateTime;
	}

	public void setDateTime(Timestamp dateTime) {
		this.dateTime = dateTime;
	}

}